/**
 * Copyright &copy; 2012-2016 <a href="https://istep.lczyfz.com">Istep</a> All rights reserved.
 */
package com.lczyfz.istep.modules.resource.entity;

import com.lczyfz.istep.common.persistence.DataEntity;

/**
 * 课件-素材表Entity
 * @author dh
 * @version 2017-02-21
 */
public class ResourceFile extends DataEntity<ResourceFile> {

	private static final long serialVersionUID = 1L;
	private String resourceId;	// 关联id，resource_id
	private String name;		// 文件名称
	private String url;		    // 文件访问路径
	private String type;		// 素材类型：0：视频素材；1：文档素材
	private String localUrl;	// 文件存放地址 local_url
	private String format;		// 文件格式，后缀
	public ResourceFile() {
		super();
	}
	public ResourceFile(String id){
		super(id);
	}

	public String getResourceId() {
		return resourceId;
	}

	public void setResourceId(String resourceId) {
		this.resourceId = resourceId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getLocalUrl() {
		return localUrl;
	}

	public void setLocalUrl(String localUrl) {
		this.localUrl = localUrl;
	}

	public String getFormat() {
		return format;
	}

	public void setFormat(String format) {
		this.format = format;
	}
}